package cn.openea.perpartner.msg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;

/**
 * @Name:
 * @author: Mr.Yun
 * @Created: 2022/11/9 15:12
 */
@Data
@TableName(value ="msg_test")
public class User implements Serializable {

    private static final long serialVersionUID = 7015636186969452270L;

    // 定义主键策略(自增)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;//主键

    private String name;

    private String phon;

}
